package cn.yyh.gateway.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.netflix.zuul.ZuulFilter;

public class PostAccessFilter extends ZuulFilter {
	private static Logger log = LoggerFactory.getLogger(PostAccessFilter.class);

	@Override
	public Object run() {
		log.info("post");
		return null;
	}

	@Override
	public boolean shouldFilter() {
		return true;
	}

	@Override
	public int filterOrder() {
		return 0;
	}

	@Override
	public String filterType() {
		return "post";
	}

}
